from rest_framework import serializers
from home import models
class NavSerializer(serializers.ModelSerializer):
    class Meta:
        fields = '__all__'
        model = models.Nav


class BannerSerializer(serializers.ModelSerializer):
    class Meta:
        fields = '__all__'
        model = models.Banner

